import { NgModule }             from '@angular/core';
import { RouterModule, Routes } from '@angular/router';


import { Section01Component }      from './section01/section01.component';
import { Section02Component }      from './section02/section02.component';
import { Section03Component }      from './section03/section03.component';
import { Section04Component }      from './section04/section04.component';
import { Section05Component }      from './section05/section05.component';
import { Section06Component }      from './section06/section06.component';



const routes: Routes = [
  { path: '', redirectTo: '/nav1', pathMatch: 'full' },
  { path: 'nav1', component: Section01Component },
  { path: 'nav2', component: Section02Component },
  { path: 'nav3', component: Section03Component },
  { path: 'nav4', component: Section04Component },
  { path: 'nav5', component: Section05Component },
  { path: 'nav6', component: Section06Component }, 
];

@NgModule({
  imports: [ RouterModule.forRoot(routes) ],
  exports: [ RouterModule ]
})
export class AppRoutingModule {}
